package com.example.psychologicalappointmentsystem.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;


@RestController
@RequestMapping("/api/alipay")
public class alipayController {
    @RequestMapping(value = "/index",method = RequestMethod.GET)
    public String index(HttpServletRequest request) {

        //返回首页
        return "index";
    }
}
